<template>

  <div id="app">
    欢迎你： {{ username }}
    <router-link active-class="active" to="/qiantai/shopList">商店</router-link>
    <router-link active-class="active" to="/qiantai/payCar">购物车</router-link>

    <router-view></router-view>
    
  </div>
</template>

<script>
export default {
  name: "qianTai",
  data() {
    return {
      username: this.$store.state.payCar.username,
    };
  },

  mounted() {
  },
};
</script>
<style>
</style>